{% extends "base.html" %} {% block title %}
<title>Change User Details</title>
{% endblock title %} {% block body %}

<div id="userdetail">
<h2>Searchfor {{ user.email }}</h2>
<form method="post" action="/searchfor">
<table cellspacing="5">
  <tr>
    <td align="right" valign="top">Age from:</td>
    <td><input type="text" name="age_from" id="age_from" size="2"
      maxlength="2" value="{{ searchfor.age_from }}"
    /></td>
  </tr>
  <tr>
    <td align="right" valign="top">Age to:</td>
    <td><input type="text" name="age_to" id="age_to" size="2"
      maxlength="2" value="{{ searchfor.age_to }}"
    /></td>
  </tr>
    <tr>
        <td align="right" valign="top">Gender:</td>
        <td>
        <input type="radio" class="Radio" name="gender" value="male" {% ifequal searchfor.gender "male" %} checked="checked"{% endifequal %}>maennlich<br/>
        <input type="radio" class="Radio" name="gender" value="female" {% ifequal searchfor.gender "female" %} checked="checked"{% endifequal %}>weiblich<br/>
        <input type="radio" class="Radio" name="gender" value="whatever" {% ifequal searchfor.gender "whatever" %} checked="checked"{% endifequal %}>egal<br/>
        </td>
    </tr>
  <tr>
    <td colspan="2"><input type="submit" value="Save Searchfor" /></td>
  </tr>
</table>
</form>
</div>
{% endblock body %}